package com.khyr.Dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.khyr.entity.HisCareHistory;
import com.khyr.entity.HisCareOrderItem;
import com.khyr.entity.HisOrderCharge;
import com.khyr.entity.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 宋一恒
 * @version 1.0
 */
@Mapper
public interface OrderDao extends BaseMapper<HisOrderCharge> {
    HisCareHistory selectByRegId(String regId);

    int updateOrderStatus(String orderNo);


    Order  selectCoIdByChId(String chId);

    HisCareHistory selectByChId(String chId);

    List<HisCareOrderItem> selectByCoId(String coId);


}
